home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 201 / DPCS1104.ISO / Full / QuickBooks / QBTutor / Lesson1 / Lesson1.dcr / 00007_submenu routines.ls < prev    next >
Encoding:
Text File  |  2001-11-20  |  677 b   |  37 lines

  1. global backButtonTarget
  2.  
  3. on ctrlSubMain me
  4.   sprite(130).locV = 0 - sprite(130).height
  5.   go("Bye")
  6. end
  7.  
  8. on ctrlSubCancel me
  9.   sprite(130).locV = 0 - sprite(130).height
  10. end
  11.  
  12. on ctrlSubItem me, thang
  13.   case thang of
  14.     1:
  15.       backButtonTarget = "Start 1"
  16.       go("Start 1")
  17.     2:
  18.     3:
  19.       backButtonTarget = "Nav"
  20.       go("Nav")
  21.     4:
  22.       backButtonTarget = "Cust Centre"
  23.       go("Cust Centre")
  24.     5:
  25.       backButtonTarget = "Icon Bar"
  26.       go("Icon Bar")
  27.     6:
  28.       backButtonTarget = "Desktop"
  29.       go("Desktop")
  30.     7:
  31.     8:
  32.       backButtonTarget = "Congratulations"
  33.       go("Congratulations")
  34.   end case
  35.   sprite(130).locV = 0 - sprite(130).height
  36. end
  37.